local Entity = class("Entity",function() return cc.Node:create() end)

function Entity:ctor()
    cc(self):addComponent("components.behavior.SimpleEvent"):exportMethods()
end

function Entity:setId(id)
    self.id = id
end

function Entity:getId()
    return self.id
end

return Entity